
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>八、Atlas授权模型 · Mantou Book</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="mantou">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-disqus/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="8.1 简单授权.html" />
    
    
    <link rel="prev" href="07.认证.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"mantoudev","repo":"atlas_cn","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://mantoudev.com" target="_blank" class="custom-link">MantouDev</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">Apache Atlas开发指南(中文版)</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01.高级架构.html">
            
                <a href="01.高级架构.html">
            
                    
                    一、高级架构​
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="02.类型系统.html">
            
                <a href="02.类型系统.html">
            
                    
                    二、类型系统​
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="03.基本搜索.html">
            
                <a href="03.基本搜索.html">
            
                    
                    三、基本搜索
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="04.高级搜索.html">
            
                <a href="04.高级搜索.html">
            
                    
                    四、高级搜索
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="05.术语.html">
            
                <a href="05.术语.html">
            
                    
                    五、术语​
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="06.安全.html">
            
                <a href="06.安全.html">
            
                    
                    六、安全
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="07.认证.html">
            
                <a href="07.认证.html">
            
                    
                    七、认证
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.9" data-path="08.授权模型.html">
            
                <a href="08.授权模型.html">
            
                    
                    八、Atlas授权模型
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="8.1 简单授权.html">
            
                <a href="8.1 简单授权.html">
            
                    
                    8.1 配置Atlas Simple Authorizer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="8.2 Ranger授权.html">
            
                <a href="8.2 Ranger授权.html">
            
                    
                    8.2 配置Atlas Ranger Authorizer
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="09.分类传播.html">
            
                <a href="09.分类传播.html">
            
                    
                    九、分类传播​
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="10.配置Atlas.html">
            
                <a href="10.配置Atlas.html">
            
                    
                    十、配置Atlas属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="11.通知.html">
            
                <a href="11.通知.html">
            
                    
                    十一、通知
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" >
            
                <span>
            
                    
                    十二、Hook & Bridge
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="12.1 HBase Hook & Bridge.html">
            
                <a href="12.1 HBase Hook & Bridge.html">
            
                    
                    12.1 HBase Hook＆Bridge
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="12.2 Hive Hook & Bridge.html">
            
                <a href="12.2 Hive Hook & Bridge.html">
            
                    
                    12.2 Hive Hook＆Bridge
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.3" data-path="12.3 Sqoop Hook.html">
            
                <a href="12.3 Sqoop Hook.html">
            
                    
                    12.3 Sqoop Hook
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.4" data-path="12.4 Storm Hook.html">
            
                <a href="12.4 Storm Hook.html">
            
                    
                    12.4 Storm Hook
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.5" data-path="12.5 Kafka Bridge.html">
            
                <a href="12.5 Kafka Bridge.html">
            
                    
                    12.5 Kafka Bridge
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="13.容错和高可用选项.html">
            
                <a href="13.容错和高可用选项.html">
            
                    
                    十三、容错和高可用选项
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >八、Atlas授权模型</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;"><b></b>&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;</a></li><ul><li><span class="title-icon "></span><a href="#1-&#x4ECB;&#x7ECD;"><b></b>1. &#x4ECB;&#x7ECD;</a></li><li><span class="title-icon "></span><a href="#2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;"><b></b>2. &#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;</a></li><li><span class="title-icon "></span><a href="#3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;"><b></b>3. &#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;</a></li><li><span class="title-icon "></span><a href="#4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;"><b></b>4. &#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;</a></li><li><span class="title-icon "></span><a href="#5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;"><b></b>5. &#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;</a></li><li><span class="title-icon "></span><a href="#6-&#x7B80;&#x5355;&#x6388;&#x6743;"><b></b>6. &#x7B80;&#x5355;&#x6388;&#x6743;</a></li><li><span class="title-icon "></span><a href="#7-ranger&#x6388;&#x6743;"><b></b>7. Ranger&#x6388;&#x6743;</a></li><li><span class="title-icon "></span><a href="#8-&#x65E0;&#x6388;&#x6743;"><b></b>8. &#x65E0;&#x6388;&#x6743;</a></li></ul></ul></div><a href="#&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;"><a name="&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;" class="anchor-navigation-ex-anchor" href="#&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;" class="plugin-anchor" href="#&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x516B;&#x3001;&#x6388;&#x6743;&#x6A21;&#x578B;</h1>
<h2 id="1-&#x4ECB;&#x7ECD;"><a name="1-&#x4ECB;&#x7ECD;" class="anchor-navigation-ex-anchor" href="#1-&#x4ECB;&#x7ECD;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="1-&#x4ECB;&#x7ECD;" class="plugin-anchor" href="#1-&#x4ECB;&#x7ECD;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x4ECB;&#x7ECD;</h2>
<p>Atlas&#x662F;&#x4E00;&#x7EC4;&#x53EF;&#x4F38;&#x7F29;&#x4E14;&#x53EF;&#x6269;&#x5C55;&#x7684;&#x6838;&#x5FC3;&#x57FA;&#x7840;&#x6CBB;&#x7406;&#x670D;&#x52A1; - &#x4F7F;&#x4F01;&#x4E1A;&#x80FD;&#x591F;&#x5728;Hadoop&#x5185;&#x6709;&#x6548;&#x5730;&#x6EE1;&#x8DB3;&#x5176;&#x5408;&#x89C4;&#x6027;&#x8981;&#x6C42;&#xFF0C;&#x5E76;&#x5141;&#x8BB8;&#x4E0E;&#x6574;&#x4E2A;&#x4F01;&#x4E1A;&#x6570;&#x636E;&#x751F;&#x6001;&#x7CFB;&#x7EDF;&#x96C6;&#x6210;&#x3002; Apache Atlas&#x4E3A;&#x7EC4;&#x7EC7;&#x63D0;&#x4F9B;&#x5F00;&#x653E;&#x5F0F;&#x5143;&#x6570;&#x636E;&#x7BA1;&#x7406;&#x548C;&#x6CBB;&#x7406;&#x529F;&#x80FD;&#xFF0C;&#x4EE5;&#x6784;&#x5EFA;&#x5176;&#x6570;&#x636E;&#x8D44;&#x4EA7;&#x76EE;&#x5F55;&#xFF0C;&#x5BF9;&#x8FD9;&#x4E9B;&#x8D44;&#x4EA7;&#x8FDB;&#x884C;&#x5206;&#x7C7B;&#x548C;&#x7BA1;&#x7406;&#xFF0C;&#x5E76;&#x4E3A;&#x6570;&#x636E;&#x79D1;&#x5B66;&#x5BB6;&#xFF0C;&#x5206;&#x6790;&#x5E08;&#x548C;&#x6570;&#x636E;&#x6CBB;&#x7406;&#x56E2;&#x961F;&#x63D0;&#x4F9B;&#x56F4;&#x7ED5;&#x8FD9;&#x4E9B;&#x6570;&#x636E;&#x8D44;&#x4EA7;&#x7684;&#x534F;&#x4F5C;&#x529F;&#x80FD;&#x3002;</p>
<p>&#x672C;&#x6587;&#x6863;&#x4ECB;&#x7ECD;&#x4E86;Apache Atlas&#x652F;&#x6301;&#x7684;&#x6388;&#x6743;&#x6A21;&#x578B;&#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#xFF0C;&#x4EE5;&#x63A7;&#x5236;&#x5BF9;Atlas&#x7BA1;&#x7406;&#x7684;&#x5143;&#x6570;&#x636E;&#x7684;&#x8BBF;&#x95EE;&#x3002;</p>
<h2 id="2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;"><a name="2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;" class="anchor-navigation-ex-anchor" href="#2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;" class="plugin-anchor" href="#2-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;"><i class="fa fa-link" aria-hidden="true"></i></a>2. &#x6388;&#x6743;&#x8BBF;&#x95EE;&#x7C7B;&#x578B;</h2>
<p>Apache Atlas&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x79CD;&#x7C7B;&#x578B;(Type)&#x7CFB;&#x7EDF;&#xFF0C;&#x5141;&#x8BB8;&#x7528;&#x6237;&#x5BF9;&#x4ED6;&#x4EEC;&#x60F3;&#x8981;&#x7BA1;&#x7406;&#x7684;&#x5143;&#x6570;&#x636E;&#x5BF9;&#x8C61;&#x8FDB;&#x884C;&#x5EFA;&#x6A21;&#x3002;&#x8BE5;&#x6A21;&#x578B;&#x7531;&#x79F0;&#x4E3A;&#x201C;&#x7C7B;&#x578B;&#x201D;&#x7684;&#x5B9A;&#x4E49;&#x7EC4;&#x6210;&#x3002; Apache Atlas&#x7C7B;&#x578B;&#x7CFB;&#x7EDF;&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x79CD;&#x7C7B;&#x7684;&#x7C7B;&#x578B;&#xFF1A;</p>
<ul>
<li>Entity</li>
<li>Classification</li>
<li>Relationship</li>
<li>Struct</li>
<li>Enum</li>
</ul>
<p>&#x6388;&#x6743;&#x6A21;&#x578B;&#x5141;&#x8BB8;&#x63A7;&#x5236;&#x54EA;&#x4E9B;&#x7528;&#x6237;&#xFF0C;&#x7EC4;&#x53EF;&#x4EE5;&#x6839;&#x636E;&#x7C7B;&#x578B;&#x540D;&#x79F0;&#x548C;&#x7C7B;&#x578B;&#x7C7B;&#x522B;&#x5BF9;&#x7C7B;&#x578B;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x64CD;&#x4F5C;&#xFF1A;</p>
<ul>
<li>create</li>
<li>update</li>
<li>delete</li>
</ul>
<p>&#x4EE5;&#x4E0B;&#x662F;&#x6A21;&#x578B;&#x652F;&#x6301;&#x7684;&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x7684;&#x51E0;&#x4E2A;&#x793A;&#x4F8B;&#xFF1A;</p>
<ul>
<li>&#x7BA1;&#x7406;&#x5458;&#x7528;&#x6237;&#x53EF;&#x4EE5;create/update/delete&#x6240;&#x6709;&#x7C7B;&#x522B;&#x7684;&#x7C7B;&#x578B;</li>
<li>&#x6570;&#x636E;&#x7BA1;&#x7406;&#x5458;&#x53EF;&#x4EE5;create/update/delete&#x5206;&#x7C7B;&#x7C7B;&#x578B;</li>
<li>&#x5065;&#x5EB7;&#x68C0;&#x67E5;(Healthcare)&#x6570;&#x636E;&#x7BA1;&#x7406;&#x5458;&#x53EF;&#x4EE5;create/update/delete&#x540D;&#x79F0;&#x4EE5;&#x201C;hc&#x201D;&#x5F00;&#x5934;&#x7684;&#x7C7B;&#x578B;</li>
</ul>
<h2 id="3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;"><a name="3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;" class="anchor-navigation-ex-anchor" href="#3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;" class="plugin-anchor" href="#3-&#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;"><i class="fa fa-link" aria-hidden="true"></i></a>3. &#x6388;&#x6743;&#x8BBF;&#x95EE;&#x5B9E;&#x4F53;</h2>
<p>&#x5B9E;&#x4F53;&#x662F;Entity&#x7C7B;&#x578B;&#x7684;&#x5B9E;&#x4F8B;&#xFF0C;&#x6B64;&#x7C7B;&#x5B9E;&#x4F8B;&#x8868;&#x793A;&#x73B0;&#x5B9E;&#x4E16;&#x754C;&#x4E2D;&#x7684;&#x5BF9;&#x8C61;&#xFF1A;&#x4F8B;&#x5982;Hive&#x4E2D;&#x7684;&#x8868;&#xFF0C;HDFS&#x6587;&#x4EF6;&#xFF0C;Kafka&#x4E3B;&#x9898;&#x3002;&#x6388;&#x6743;&#x6A21;&#x578B;&#x53EF;&#x4EE5;&#x63A7;&#x5236;&#x54EA;&#x4E9B;&#x7528;&#x6237;&#xFF0C;&#x7EC4;&#x53EF;&#x4EE5;&#x5BF9;&#x5B9E;&#x4F53;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x64CD;&#x4F5C;&#xFF08;&#x57FA;&#x4E8E;&#x5B9E;&#x4F53;&#x7C7B;&#x578B;&#xFF0C;&#x5B9E;&#x4F53;&#x5206;&#x7C7B;&#xFF0C;&#x5B9E;&#x4F53;ID&#xFF09;&#xFF1A;</p>
<ul>
<li>read</li>
<li>create</li>
<li>update</li>
<li>delete</li>
<li>read classification</li>
<li>add classification</li>
<li>update classification</li>
<li>remove classification</li>
</ul>
<p>&#x4EE5;&#x4E0B;&#x662F;&#x6A21;&#x578B;&#x652F;&#x6301;&#x7684;&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x7684;&#x51E0;&#x4E2A;&#x793A;&#x4F8B;&#xFF1A;</p>
<ul>
<li>&#x7BA1;&#x7406;&#x5458;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x5BF9;&#x6240;&#x6709;&#x7C7B;&#x578B;&#x7684;&#x5B9E;&#x4F53;&#x6267;&#x884C;&#x6240;&#x6709;&#x5B9E;&#x4F53;&#x64CD;&#x4F5C;</li>
<li>&#x6570;&#x636E;&#x7BA1;&#x7406;&#x5458;&#x53EF;&#x4EE5;&#x5BF9;&#x6240;&#x6709;&#x7C7B;&#x578B;&#x7684;&#x5B9E;&#x4F53;&#x6267;&#x884C;&#x9664;&#x5220;&#x9664;&#x4E4B;&#x5916;&#x7684;&#x6240;&#x6709;&#x5B9E;&#x4F53;&#x64CD;&#x4F5C;</li>
<li>&#x6570;&#x636E;&#x8D28;&#x91CF;&#x7BA1;&#x7406;&#x5458;&#x53EF;&#x4EE5; add/update/remove DATA_QUALITY&#x5206;&#x7C7B;</li>
<li>&#x7279;&#x5B9A;&#x7EC4;&#x4E2D;&#x7684;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;PII&#x5206;&#x7C7B;&#x6216;&#x5176;&#x5B50;&#x5206;&#x7C7B;&#x6765;read/update&#x5B9E;&#x4F53;</li>
<li>&#x8D22;&#x52A1;&#x7528;&#x6237;&#x53EF;&#x4EE5;read/update ID&#x4EE5;&#x201C;finance&#x201D;&#x5F00;&#x5934;&#x7684;&#x5B9E;&#x4F53;</li>
</ul>
<h2 id="4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;"><a name="4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;" class="anchor-navigation-ex-anchor" href="#4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;" class="plugin-anchor" href="#4-&#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>4. &#x7BA1;&#x7406;&#x5458;&#x64CD;&#x4F5C;&#x7684;&#x6388;&#x6743;</h2>
<p>&#x6388;&#x6743;&#x6A21;&#x578B;&#x53EF;&#x4EE5;&#x63A7;&#x5236;&#x54EA;&#x4E9B;&#x7528;&#x6237;&#x3001;&#x7EC4;&#x53EF;&#x4EE5;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x7BA1;&#x7406;&#x64CD;&#x4F5C;&#xFF1A;</p>
<ul>
<li>&#x5BFC;&#x5165;&#x5B9E;&#x4F53;</li>
<li>&#x5BFC;&#x51FA;&#x5B9E;&#x4F53;</li>
</ul>
<p>&#x5177;&#x6709;&#x4E0A;&#x8FF0;&#x8BBF;&#x95EE;&#x6743;&#x9650;&#x7684;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x5BFC;&#x5165;/&#x5BFC;&#x51FA;&#x5B9E;&#x4F53;&#xFF0C;&#x800C;&#x65E0;&#x9700;&#x6388;&#x4E88;&#x5B83;&#x4EEC;&#x7EC6;&#x7C92;&#x5EA6;&#x7684;&#x5B9E;&#x4F53;&#x7EA7;&#x8BBF;&#x95EE;&#x6743;&#x9650;&#x3002;</p>
<h2 id="5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;"><a name="5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;" class="anchor-navigation-ex-anchor" href="#5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;" class="plugin-anchor" href="#5-&#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>5. &#x53EF;&#x63D2;&#x62D4;&#x6388;&#x6743;</h2>
<p>Apache Atlas&#x652F;&#x6301;&#x53EF;&#x63D2;&#x5165;&#x7684;&#x6388;&#x6743;&#x63A5;&#x53E3;&#xFF0C;&#x5982;&#x4E0B;&#x6240;&#x793A;&#xFF0C;&#x542F;&#x7528;&#x5907;&#x7528;&#x5B9E;&#x73B0;&#x6765;&#x5904;&#x7406;&#x6388;&#x6743;&#x3002;</p>
<p> &#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x914D;&#x7F6E;<code>atlas.authorizer.impl</code>&#x5411;Apache Atlas&#x6CE8;&#x518C;&#x5B9E;&#x73B0;&#x6388;&#x6743;&#x63A5;&#x53E3;&#x7684;&#x7C7B;&#x7684;&#x540D;&#x79F0;&#x3002;&#x5982;&#x679C;&#x672A;&#x8BBE;&#x7F6E;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;Apache Atlas&#x5C06;&#x5728;<code>org.apache.atlas.authorize.simple.AtlasSimpleAuthorizer</code>&#x4E2D;&#x4F7F;&#x7528;&#x5176;&#x9ED8;&#x8BA4;&#x5B9E;&#x73B0;&#x3002;</p>
<pre><code> package org.apache.atlas.authorize;

 public interface AtlasAuthorizer {
     void init();

     void cleanUp();

     boolean isAccessAllowed(AtlasAdminAccessRequest request) throws AtlasAuthorizationException;

     boolean isAccessAllowed(AtlasEntityAccessRequest request) throws AtlasAuthorizationException;

     boolean isAccessAllowed(AtlasTypeAccessRequest request) throws AtlasAuthorizationException;
 }
</code></pre><h2 id="6-&#x7B80;&#x5355;&#x6388;&#x6743;"><a name="6-&#x7B80;&#x5355;&#x6388;&#x6743;" class="anchor-navigation-ex-anchor" href="#6-&#x7B80;&#x5355;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="6-&#x7B80;&#x5355;&#x6388;&#x6743;" class="plugin-anchor" href="#6-&#x7B80;&#x5355;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>6. &#x7B80;&#x5355;&#x6388;&#x6743;</h2>
<p> &#x7B80;&#x5355;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x662F;Apache Atlas&#x4E2D;&#x5305;&#x542B;&#x7684;&#x9ED8;&#x8BA4;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x5B9E;&#x73B0;&#x3002;&#x6709;&#x5173;&#x8BBE;&#x7F6E;Apache Atlas&#x4EE5;&#x4F7F;&#x7528;&#x7B80;&#x5355;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#xFF0C;&#x8BF7;&#x53C2;&#x9605;&#x540E;&#x9762;&#x7AE0;&#x8282;&#xFF1A;&#x8BBE;&#x7F6E;Atlas&#x4EE5;&#x4F7F;&#x7528;Simple Authorizer&#x3002;</p>
<h2 id="7-ranger&#x6388;&#x6743;"><a name="7-ranger&#x6388;&#x6743;" class="anchor-navigation-ex-anchor" href="#7-ranger&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="7-ranger&#x6388;&#x6743;" class="plugin-anchor" href="#7-ranger&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>7. Ranger&#x6388;&#x6743;</h2>
<p> &#x8981;&#x5C06;Apache Atlas&#x914D;&#x7F6E;&#x4E3A;&#x4F7F;&#x7528;Apache Ranger&#x63D0;&#x4F9B;&#x7684;&#x6388;&#x6743;&#x5B9E;&#x73B0;&#xFF0C;&#x8BF7;&#x5728;application.properties&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x5305;&#x542B;&#x4EE5;&#x4E0B;&#x5C5E;&#x6027;&#xFF1A;</p>
<pre><code>atlas.authorizer.impl=ranger
</code></pre><p>Apache Ranger Authorizer&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x4F8B;&#x5982;&#x6307;&#x5B9A;Apache Ranger&#x7BA1;&#x7406;&#x670D;&#x52A1;&#x5668;URL&#xFF0C;&#x5305;&#x542B;&#x6388;&#x6743;&#x7B56;&#x7565;&#x7684;&#x670D;&#x52A1;&#x540D;&#x79F0;&#x7B49;&#x3002;&#x6709;&#x5173;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#xFF0C;&#x8BF7;&#x53C2;&#x9605;&#x540E;&#x9762;&#x7AE0;&#x8282;&#xFF1A;&#x8BBE;&#x7F6E;Atlas&#x4EE5;&#x4F7F;&#x7528;Ranger Authorizer&#x3002;</p>
<h2 id="8-&#x65E0;&#x6388;&#x6743;"><a name="8-&#x65E0;&#x6388;&#x6743;" class="anchor-navigation-ex-anchor" href="#8-&#x65E0;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="8-&#x65E0;&#x6388;&#x6743;" class="plugin-anchor" href="#8-&#x65E0;&#x6388;&#x6743;"><i class="fa fa-link" aria-hidden="true"></i></a>8. &#x65E0;&#x6388;&#x6743;</h2>
<p>&#x9664;&#x4E86;&#x9ED8;&#x8BA4;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x4E4B;&#x5916;&#xFF0C;Apache Atlas&#x8FD8;&#x5305;&#x62EC;&#x4E00;&#x4E2A;&#x5141;&#x8BB8;&#x6240;&#x6709;&#x7528;&#x6237;&#x8BBF;&#x95EE;&#x7684;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x3002;&#x6B64;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#x5728;&#x6D4B;&#x8BD5;&#x73AF;&#x5883;&#x548C;&#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x4E2D;&#x975E;&#x5E38;&#x6709;&#x7528;&#x3002;&#x8981;&#x4F7F;&#x7528;&#x6B64;&#x6388;&#x6743;&#x7A0B;&#x5E8F;&#xFF0C;&#x8BF7;&#x8BBE;&#x7F6E;&#x4EE5;&#x4E0B;&#x914D;&#x7F6E;&#xFF1A;</p>
<pre><code>atlas.authorizer.impl=NONE
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="07.认证.html" class="navigation navigation-prev " aria-label="Previous page: 七、认证">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="8.1 简单授权.html" class="navigation navigation-next " aria-label="Next page: 8.1 配置Atlas Simple Authorizer">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"八、Atlas授权模型","level":"1.9","depth":1,"next":{"title":"8.1 配置Atlas Simple Authorizer","level":"1.9.1","depth":2,"path":"8.1 简单授权.md","ref":"8.1 简单授权.md","articles":[]},"previous":{"title":"七、认证","level":"1.8","depth":1,"path":"07.认证.md","ref":"07.认证.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","-expandable-chapters-small","anchors","github","github-buttons","donate","sharing-plus","anchor-navigation-ex","-favicon","ga","disqus"],"styles":{"website":"/styles/website.css"},"pluginsConfig":{"disqus":{"useIdentifier":false,"shortName":"mantoudev"},"github":{"url":"https://github.com/mantoudev"},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"https://mantoudev.com/images/alipay.jpg","alipayText":"支付宝打赏","button":"赏","title":"","wechat":"https://mantoudev.com/images/wechatpay.jpg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"github-buttons":{"buttons":[{"user":"mantoudev","repo":"atlas_cn","type":"star","size":"small","count":true}]},"ga":{"configuration":"auto","token":"UA-129870378-1"},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{}},"theme":"default","author":"mantou","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Mantou Book","language":"zh-hans","links":{"sidebar":{"MantouDev":"https://mantoudev.com"}},"gitbook":"3.2.3","description":"吭哧吭哧"},"file":{"path":"08.授权模型.md","mtime":"2018-12-01T13:27:55.438Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-02T09:34:36.806Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-ga/plugin.js"></script>
        
    
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.16.1/URI.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-disqus/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

